package com.mars.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mars.module.system.entity.BaseEntity;

/**
 * 学校对象 sys_school
 *
 * @author mars
 * @date 2024-03-14
 */

@Data
@ApiModel(value = "学校对象")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("sys_school")
public class SysSchool {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    @ApiModelProperty(value = "学校名称")
    private String name;
    /**
     * 国家
     */
    @Excel(name = "国家")
    @ApiModelProperty(value = "国家")
    private String country;
    /**
     * 地址
     */
    @Excel(name = "地址")
    @ApiModelProperty(value = "地址")
    private String address;
    /**
     * 建立时间
     */
    @Excel(name = "建立时间")
    @ApiModelProperty(value = "建立时间")
    private String buildTime;
}
